I just come across a deadlock, probably on jedit exit.
Scenario seems like that:
1. XML parses the xml file (it was my active buffer), thus has the buffer locked
2. XML calls invokeAndWait indirectly through a call to VFSManager.waitForRequests,
from Resolver:597
3. AWT thread tries to acquire a lock for the buffer, but it's already taken by XML/sidekick
Looks like invokeAndWait call is illegal in this situation, when a buffer lock is
held.
Parts of deadlock dump attached.
| Submitted | jarekczek - 2012-05-27 15:35:45 | Assigned | kerik-sf |
|---|---|---|---|
| Priority | 5 | Labels | |
| Status | pending | Group | None |
| Resolution | fixed |
| 2012-05-27 15:38:35 jarekczek |
2 parts of deadlock dump xml_deadlock (5.2Kio) |
|---|---|
| 2012-05-27 15:39:19 jarekczek |
Maybe my last activity was application switch, which caused buffer reload. |
| 2012-05-27 18:40:28 kerik-sf |
interesting. Thanks for the report with thread dumps.
|
| 2012-05-27 18:40:28 kerik-sf |
- **assigned_to**: nobody --> kerik-sf |
| 2012-05-28 18:06:32 jarekczek |
r21502, reported as 2.8.2. Linux, sun java 6.
|
| 2012-05-29 15:11:23 jarekczek |
I am able to reproduce the bug now:
|
| 2012-05-29 17:08:36 jarekczek |
Simpler recipe which does not involve any sidekick vulnerabilities, purely xml:
|
| 2013-04-07 18:49:12 kerik-sf |
committed a fix in r22925.
|
| 2013-05-01 09:38:13 kerik-sf |
to be closed upon release 2.8.5 |
| 2013-05-01 09:38:13 kerik-sf |
- **status**: open --> pending-fixed |